@charset "utf-8";

$fs:64px;
*{
    padding: 0;
    margin: 0;
//  font-size: 0;
}
html{
    font-size: $fs;
    
    
}

@function r($px){
    @return $px/$fs*1rem
    
}
@function p2vh($px){
    @return $px*100/1280px*1vh
    
}
@function p2vw($px){
    @return $px*100/640px*1vw
    
}
.web{
    width: 100vw;
    background:#f5f5f5;
}
.clear{
    clear: both;
}
//顶部logo
.logo-t{
    position: fixed;
    z-index: 1;
   background: #b20000;
   width:100%;
   text-align: center;
}
.logo-t a{
    width: 100%;
    height: 100%;
}
.logo-logo{
    width: r(264px);
    height:r(39px);
    padding: r(25px) 0;
}
.logo-caidan{
     width: r(42px);
    height: r(42px);
    padding: r(25px) 0;
    float: left;
    display: inline-block;
}
.logo-sousuo{
    width: r(42px);
    height: r(42px);
        padding: r(25px) 0;
    float: right;
        display: inline-block;
}
//白底logo
.logo-m {
    background: white;
    width: 100%;
    padding-top: r(80px);
}

.bbbb{
    width: 50px;
    height: 50px;
    background:blue;
}

.youbianhuadong{
    font-size: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: red;
    transition: all .5s;
    transform:translateX(-100%);
}
.youbiandianji{
    width: 100px;
    height: 100px;
    background: yellow;
}
#youbiandianji:checked+.youbianhuadong {
    transform: translateX(0%);
}
